#pragma once

#include <map>

#include "../Common.h"
#include "CurrentContext.h"

namespace DirectX
{

  class TextureManager
  {
  public:

    virtual ~TextureManager(void);

    inline static TextureManager& GetInstance()
    {
      static TextureManager instance;
      return instance;
    }

    TextureDesc* GetTexture(std::string fileName);

    bool LoadTexture(std::string filename);

  private:
    TextureManager(void);
    std::map<std::string, TextureDesc*> m_texturesMap;

    const std::string FOLDER;
  };
}
